﻿using System;
using UnityEngine;

namespace IllusionUtility.SetUtility
{
	// Token: 0x02000650 RID: 1616
	public static class TransformScaleEx
	{
		// Token: 0x06002675 RID: 9845 RVA: 0x00147C3C File Offset: 0x00145E3C
		public static void SetLocalScaleX(this Transform transform, float x)
		{
			Vector3 localScale = new Vector3(x, transform.localScale.y, transform.localScale.z);
			transform.localScale = localScale;
		}

		// Token: 0x06002676 RID: 9846 RVA: 0x00147C74 File Offset: 0x00145E74
		public static void SetLocalScaleY(this Transform transform, float y)
		{
			Vector3 localScale = new Vector3(transform.localScale.x, y, transform.localScale.z);
			transform.localScale = localScale;
		}

		// Token: 0x06002677 RID: 9847 RVA: 0x00147CAC File Offset: 0x00145EAC
		public static void SetLocalScaleZ(this Transform transform, float z)
		{
			Vector3 localScale = new Vector3(transform.localScale.x, transform.localScale.y, z);
			transform.localScale = localScale;
		}

		// Token: 0x06002678 RID: 9848 RVA: 0x00147CE4 File Offset: 0x00145EE4
		public static void SetLocalScale(this Transform transform, float x, float y, float z)
		{
			Vector3 localScale = new Vector3(x, y, z);
			transform.localScale = localScale;
		}
	}
}
